package com.cooge.collection.pojo;
// default package

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import static javax.persistence.GenerationType.IDENTITY;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * MenuEpisode entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "menu_episode", catalog = "sharevideo")
public class MenuEpisode implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = 3979221230236556506L;
	private Long id;
	private Long menuId;
	private Long episodeId;

	// Constructors

	/** default constructor */
	public MenuEpisode() {
	}

	/** full constructor */
	public MenuEpisode(Long menuId, Long episodeId) {
		this.menuId = menuId;
		this.episodeId = episodeId;
	}

	// Property accessors
	@Id
	@GeneratedValue(strategy = IDENTITY)
	@Column(name = "id", unique = true, nullable = false)
	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	@Column(name = "menu_Id")
	public Long getMenuId() {
		return this.menuId;
	}

	public void setMenuId(Long menuId) {
		this.menuId = menuId;
	}

	@Column(name = "episode_Id")
	public Long getEpisodeId() {
		return this.episodeId;
	}

	public void setEpisodeId(Long episodeId) {
		this.episodeId = episodeId;
	}

}